package com.gjy.nacos.server.service;

import com.gjy.nacos.server.domain.User;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-03-08 16:07:26
 */
public interface UserService {

    User saveUser(User user);

    Integer saveUser(User user, Boolean type);

    List<User> findUsersGtAge(BigDecimal age);

    Integer deleteUserById(Long id);

    Integer updateUserEmailById(String email, Long id);

}
